package writeor.aidraw.model;

import java.io.Serializable;

/**
 * user
 * @author 
 */
public class User implements Serializable {
    private Integer user_id;

    private String user_name;

    private String user_email;

    private String user_pass;

    private Byte user_rank;

    private static final long serialVersionUID = 1L;

    public User(Integer user_id, String user_name, String user_email, String user_pass, Byte user_rank) {
        this.user_id = user_id;
        this.user_name = user_name;
        this.user_email = user_email;
        this.user_pass = user_pass;
        this.user_rank = user_rank;
    }

    @Override
    public String toString() {
        return "User{" +
                "user_id=" + user_id +
                ", user_name='" + user_name + '\'' +
                ", user_email='" + user_email + '\'' +
                ", user_pass='" + user_pass + '\'' +
                ", user_rank=" + user_rank +
                '}';
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_email() {
        return user_email;
    }

    public void setUser_email(String user_email) {
        this.user_email = user_email;
    }

    public String getUser_pass() {
        return user_pass;
    }

    public void setUser_pass(String user_pass) {
        this.user_pass = user_pass;
    }

    public Byte getUser_rank() {
        return user_rank;
    }

    public void setUser_rank(Byte user_rank) {
        this.user_rank = user_rank;
    }
}